Skip to content

Feat: Composer helpers, expand toggle, and message code-block UX#194

Merged
Dimillian merged 2 commits intoDimillian:mainfrom
Allmight97:main
Jan 22, 2026
Merged

Feat: Composer helpers, expand toggle, and message code-block UX#194
Dimillian merged 2 commits intoDimillian:mainfrom
Allmight97:main

Conversation

@Allmight97
Copy link
Copy Markdown
Contributor

@Allmight97 Allmight97 commented Jan 22, 2026

Summary

  • Composer: ``` + space fence expansion (with optional language tags), auto-wrap paste, and list continuation on Shift+Enter
  • Composer: manual expand/collapse button in the input row (session-persistent)
  • Messages: react-markdown v10 block detection fix + visible code block UI with header + copy button
  • Copy UX: default copies fenced markdown; Option modifies behavior (toggleable in settings)
  • Settings: new Composer section with presets and code-fence copy toggle (persisted)
  • Fixed toggle coloring regression (commit 056cd01) when reduce transparency enabled

Notes

  • Code block detection relies on the "pre"/AST shape since react-markdown v10 removed the inline prop

Testing

  • npm run lint (warns existing useThreads.ts:86)
  • npm run test (fails existing localStorage mocks in useResizablePanels/useThreads.integration)
  • npm run typecheck

@Allmight97
Copy link
Copy Markdown
Contributor Author

Allmight97 commented Jan 22, 2026

I made this PR with CodexMonitor and merged with your latest. Codex made the notes too.

  • Settings > composer for all new knobs (default off) and presents.
  • Text input area now has expand button to increase size of input area.
  • Message bubbles now clearly call out code fences with copy with or without fences feature.

Apologies for the mono-commit and for the visual bug in the knobs/toggles when 'reduce transparency' is enabled.

@Allmight97 Allmight97 changed the title Composer helpers, expand toggle, and message code-block UX Feat: Composer helpers, expand toggle, and message code-block UX Jan 22, 2026
@Allmight97
Copy link
Copy Markdown
Contributor Author

Added commit to fix Settings toggle tint under Reduce Transparency.

What changed:

  • Updated reduced-transparency override to only apply to OFF toggles: .

Why:

  • Previous override targeted all toggles and masked the ON gradient; this restores the original enabled tint while keeping OFF-state contrast improvements under reduced transparency.

@Dimillian Dimillian merged commit 9878d1e into Dimillian:main Jan 22, 2026
5 checks passed
gersmann pushed a commit to gersmann/codex-monitor-web that referenced this pull request Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants